#include "stdafx.h"
#include "base_logic.h"
#include "iltmessage.h"
#include "ui_msgs.h"
#include "i_UIcompote.h"

void base_logic::on_message( ILTMessage_Read* _msg )
{
	uint8 msgId=_msg->Readuint8();
	switch (msgId)
	{
	case UI_MSG_ACTIVE:
		bool msgbool=_msg->Readbool();
		get_compote()->enable_active(msgbool);
		break;
	}
 


}

base_logic::base_logic()
{

}

base_logic::~base_logic()
{

}